<template>
	<zkView ref="zkView" v-slot:uContainer>
		<view class="container">
			<view class="list" v-if="list&&list.length">
				<view class="item" v-for="item in list" :key="item._id">
					<view class="left">
						<text>{{item.name}}</text>
						<text>{{formatDate(item.create_time)}}</text>
					</view>
					<view class="right">
						<text class="jiaTxt">+{{item.points||'--'}}</text>
					</view>
				</view>
			</view>
			<view class="noData" v-else>
				<image mode="widthFix" src="/static/empty.png"></image>
				<text>暂无积分</text>
			</view>
		</view>
	</zkView>
</template>

<script>
	import indexJs from './index.js';
	import mixins from '@/common/mixins.js';
	export default {
		components: {},
		mixins: [mixins],
		...indexJs
	};
</script>

<style lang="scss" scoped>
	@import './index.scss';
</style>